package com.george.shiro.vo;

import lombok.Data;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author GeorgeChan 2019/5/24 23:48
 * @version 1.0
 * @since jdk1.8
 */
@Data
public class ResourcesVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    private String type;

    private String url;

    private String permission;

    private Long parentId;

    private Integer sort;

    /**
     * 是否外部链接
     */
    private Boolean external;

    private Boolean available;

    /**
     * 菜单图标
     */
    private String icon;

    /**
     * 父节点
     */
    private ResourcesVo parent;
    /**
     * 子节点
     */
    List<ResourcesVo> nodes;

    private String checked;
}
